ComboBox nespusti event

Otázka od: ViragI@logica.com

7. 11. 2002 16:46

Zdravim

Menim programove polozku v ComboBoxu (ComboBox1.ItemIndex := ...). Nespusti
mi to ale naprogramovany event OnChange ani OnClick - nic. Vedel byste nekdo
neco? Dekuji.

D7Arch, Win2000 (SP3)

Ivan Virag

This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an intended
recipient then please promptly delete this e-mail and any attachment and all
copies and inform the sender. Thank you.

Odpovedá: David Michal

7. 11. 2002 16:55

Zdravim,
Z helpu:
OnChange only occurs in response to user actions. Changing the Text property
programmatically does not trigger an OnChange event.
Takze ti asi nezbyde, nezli si po programove zmene ItemIndex take spustit
pozadovanou udalost.
Tzn.
ComboBox1.ItemIndex := NewValue;
ComboBox1Change(ComboBox1);

David Michal



Menim programove polozku v ComboBoxu (ComboBox1.ItemIndex := ...). Nespusti
mi to ale naprogramovany event OnChange ani OnClick - nic. Vedel byste nekdo
neco? Dekuji.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.408 / Virus Database: 230 - Release Date: 24/10/2002